/* eslint-disable */
// 该文件由 OneAPI 自动生成，请勿手动修改！
import {apiPrefixDispose} from '@/utils/format';
import {request} from '@umijs/max';


/**
 * 查询日志
 */
export async function page<T = any>(body: API.LoginLogPage) {
    return request<API.ResultPageVO<API.LoginLog>>(apiPrefixDispose('/log/login/page'), {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
    });
  }

/**
 * 查询日志 - 当前登录者
 */
export async function findUserPage<T = any>(body: API.LoginLogUserPage) {
    return request<API.ResultPageVO<API.LoginLog>>(apiPrefixDispose('/log/login/user/page'), {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
    });
  }
